<div class="am-u-sm-12 widget main-w" >
	<ol class="am-breadcrumb">
		<li><a href="{:url('/admin/index')}">首页</a></li>
		<li><a href="{:url('/admin/car/index')}">业务管理</a></li>
		<li><a href="{:url('index')}">司机管理</a></li>
		<li class="am-active">司机统计</li>
	</ol>
	<div class="am-u-sm-12 cl-p">
		<div class="am-u-sm-12 cl-p">
			<form class="am-form-inline tpl-form-border-form" action="" method="get">
				<div class="am-u-sm-12 cl-p">
					<div class="am-u-sm-3 ">
						<div class="am-u-sm-5 cl-p">
							<select class="driverstat" style="height: 33px;">
								<option value="1">司机姓名</option>
								<option value="2">公司名称</option>
							</select>
						</div>
						<div class="am-u-sm-7 am-form-group cl-p">
							<input class="driver_id" type="hidden" name='driver_id' value="{$Think.get.driver_id}" />
							<input class="driver-name name driver  am-form-field" type="text" name="name"  value="{$Think.get.name}"  readonly=""/>
							<input class="company_id" type="hidden"  value="{$Think.get.company_id}" />
							<input class="company company_name am-form-field" type="hidden"  value="{$Think.get.company_name}"  readonly=""/>
						</div>
					</div>

					<div class="am-u-sm-9 ">
						<button type="submit" class="am-btn am-btn-sm am-btn-primary am-radius" style="margin-top: -2px;">查询<i class="am-icon-search"></i></button>
					</div>
				</div>
				<div class="am-u-sm-12 timeclassify" style="margin-top: 10px;">
					<input type="hidden" name="time" class="time" />
					<a href="{:url('stat')}" class="am-btn am-radius am-btn-sm {$Think.get.time!=month&&$Think.get.time!=year&&$Think.get.time!=day?'am-btn-success':'am-btn-primary'} year" style="margin-top: -2px;">全部</a>
					<button type="submit" data-val='day' class="am-btn {$Think.get.time==day?'am-btn-success':'am-btn-primary'} am-btn-sm am-radius day" style="margin-top: -2px;">今日</button>
					<button type="submit" data-val='month' class="am-btn am-btn-sm {$Think.get.time==month?'am-btn-success':'am-btn-primary'} am-radius month" style="margin-top: -2px;">本月</button>
					<button type="submit" data-val='year' class="am-btn am-radius am-btn-sm {$Think.get.time==year?'am-btn-success':'am-btn-primary'} year" style="margin-top: -2px;">今年</button>
				</div>
			</form>
		</div>
		<div class="am-u-sm-12  cl-p">
			<div class="am-u-sm-12 widget  cl-p">
				<div class="widget-head am-cf">
					<div class="widget-title am-fl">司机统计 </div>
				</div>
				<div class="widget-body am-fr  cl-p">
					<div class="am-u-sm-3" style="padding: 10px;padding-top:50px ;">
						<div class="am-u-sm-12">
							<div id="driverstatistics" style="height: 200px;margin-top: 10px;">
							</div>
						</div>
					</div>
					<div class="am-u-sm-9">
						<div class="am-u-sm-12 bottom-border" >
							<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font" >司机数量</div>
								<div class="am-u-sm-12" >
									 {$item.qty} 
								</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
								{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}	 {$item.qty_last} 
								</div>
							</div>
							<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font">在线司机</div>
								<div class="am-u-sm-12 ">
									{if $Think.get.name} - {else/} {$item.online} {/if}
								</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
									{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}{if $Think.get.name} - {else/} {$item.online_last} {/if}
								</div>

							</div>
							<div class="am-u-sm-4">
								
								<div class="am-u-sm-12 title-font">总在线时长 </div>
								
								<div class="am-u-sm-12 ">-</div>
								<div class="am-u-sm-12" style="font-size: 10px;">{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}-
								
								</div>
								

							</div>
						</div>
						<div class="am-u-sm-12 bottom-border" >
							<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font">运行里程</div>
								<div class="am-u-sm-12 ">{$item.km?:0}</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
									{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}{$item.km_last}
								</div>

							</div>
							<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font">总流水</div>
								<div class="am-u-sm-12 ">{$item.water?:0}</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
									{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}{$item.water_last}
								</div>

							</div>
							<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font">接单数</div>
								<div class="am-u-sm-12 ">{$item.orders?:0}</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
									{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}{$item.orders_last}
								</div>

							</div>
						</div>
						<div class="am-u-sm-12 bottom-border">
							<!--<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font">抢单数</div>
								<div class="am-u-sm-12 ">{$item.qty}</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
									{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}{$item.qty}
								</div>
							</div>
							<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font">抢单率</div>
								<div class="am-u-sm-12 ">{$item.qty}</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
									{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}{$item.qty}
								</div>
							</div>-->
							<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font">取消率</div>
								<div class="am-u-sm-12 ">{$item.cancel?:0}</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
									{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}{$item.cancel_last}
								</div>
							</div>
							<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font">用户投诉</div>
								<div class="am-u-sm-12 ">{$item.complaint?:0}</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
									{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}{$item.complaint_last}
								</div>
							</div>
							<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font">评价</div>
								<div class="am-u-sm-12 ">{$item.finish?:0}</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
									{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}{$item.finish_last}
								</div>
							</div>
						</div>
						<!--<div class="am-u-sm-12 bottom-border" >
							
							<div class="am-u-sm-4">
								<div class="am-u-sm-12 title-font">违章</div>
								<div class="am-u-sm-12 ">{$item.qty}</div>
								<div class="am-u-sm-12" style="font-size: 10px;">
									{if $Think.get.time==year}去年 {elseif $Think.get.time==month/}上个月{else/}昨日 {/if}{$item.qty}
								</div>
							</div>
							
						</div>-->
					</div>
				</div>
			</div>
		</div>
		<!--<div class="am-u-sm-12 cl-p">
			<div class="am-u-sm-12 widget cl-p" style="margin: 10px 0;">
				<div class="widget-head am-cf ">
					<div class="widget-title am-fl">top10排名 <small style="margin-left: 10px;">更新时间&nbsp;2017-12-08&nbsp;09:18</small></div>

				</div>
				<div class="widget-body am-fr">

				</div>
			</div>
		</div>-->

	</div>

</div>